package com.xxd.spring.boot.demo.zhuhongbing.service;

import com.xxd.spring.boot.demo.zhuhongbing.entity.User;
import com.xxd.spring.boot.demo.zhuhongbing.exception.MyException;

public interface UserService {
    int regsit(User user) throws MyException;
    User login(String username,String password) throws MyException;
}
